package com.ygqh.baby.po;

import java.math.BigDecimal;

import com.ygqh.baby.ao.DataStatus;
import com.ygqh.baby.model.PrizeItem.Type;

public class YgUserPrize {
	private Long id;
	private String sourceCode;
	private Long userId;

	private Type prizeType;

	private String skuCode;

	private Long relationId;

	private BigDecimal price;

	private String content;

	private BigDecimal count;

	private Integer exchangeCount;

	private String remark;

	private DataStatus status;

	public YgUserPrize() {
		super();
	}

	public YgUserPrize(String sourceCode, Long userId, Type prizeType, String content, BigDecimal count, String remark) {
		super();
		this.sourceCode = sourceCode;
		this.userId = userId;
		this.prizeType = prizeType;
		this.content = content;
		this.count = count;
		this.remark = remark;
	}

	public String getSourceCode() {
		return sourceCode;
	}

	public void setSourceCode(String sourceCode) {
		this.sourceCode = sourceCode;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Type getPrizeType() {
		return prizeType;
	}

	public void setPrizeType(Type prizeType) {
		this.prizeType = prizeType;
	}

	public String getSkuCode() {
		return skuCode;
	}

	public void setSkuCode(String skuCode) {
		this.skuCode = skuCode == null ? null : skuCode.trim();
	}

	public Long getRelationId() {
		return relationId;
	}

	public void setRelationId(Long relationId) {
		this.relationId = relationId;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content == null ? null : content.trim();
	}

	public BigDecimal getCount() {
		return count;
	}

	public void setCount(BigDecimal count) {
		this.count = count;
	}

	public Integer getExchangeCount() {
		return exchangeCount;
	}

	public void setExchangeCount(Integer exchangeCount) {
		this.exchangeCount = exchangeCount;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

}